package com.Cychat.commons.entity.pojo;


import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

@Data
@TableName("role")
public class Role {
    @Schema(description="角色ID")
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;
    @Schema(description="角色名称")
    private String roleName;
    @Schema(description="角色描述")
    private String description;
    @Schema(description="角色状态，0为禁用，1为正常")
    private Integer status;
    @Schema(description="创建时间")
    private Date createTime;
    @Schema(description="修改时间")
    private Date updateTime;
}